Skip to content

Conversation

@rogergzou
Copy link
Collaborator

Inserting blanks

@@ -0,0 +1,2 @@
#!/usr/bin/env python
print "this is a python script!"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yay!!!

@rogergzou
Copy link
Collaborator Author

Done?

@rogergzou rogergzou closed this Nov 7, 2013
@rogergzou rogergzou reopened this Nov 7, 2013

# PROB 2
# Return the sum of all the numbers in lst. If lst is empty, return 0.
def sum_list(lst):
return 0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return sum(lst)

@kennyyu
Copy link
Collaborator

kennyyu commented Nov 12, 2013

make your commits smaller

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants